package com.android.zmusic.myaidl;

import com.android.zmusic.musicplay.MusicData;

interface IMusicConnect {

    void refreshMusicList(in List<MusicData> musicFileList) ;
    
    boolean rePlay() ;
    
    boolean play(int position) ;
    
    boolean pause() ;
    
    boolean stop() ;
    
    boolean playNext() ;
    
    boolean playPre() ;
    
    boolean seekTo(int rate) ;
    
    int getCurPosition() ;
    
    int getDuration() ;
    
    int getPlayState() ;
    
    int getPlayMode() ;
    
    void setPlayMode(int mode) ;
    
    void sendPlayStateBrocast() ;
    
    void exit() ;
    
}